package com.ruoyi.find.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 地铁周边地点对象 sys_subway_location
 * 
 * @author LiuWeiChen
 * @date 2025-09-11
 */
public class SysSubwayLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地点ID */
    private Long locationId;

    /** 所属地铁站 */
    @Excel(name = "所属地铁站")
    private Long stationId;

    /** 地点名称 */
    @Excel(name = "地点名称")
    private String locationName;

    /** 地点类型 */
    @Excel(name = "地点类型")
    private Long locationType;

    /** 距离 */
    @Excel(name = "距离")
    private Long distance;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createUser;

    /** 更新人 */
    @Excel(name = "更新人")
    private Long updateUser;
    @TableField(exist = false)
    private String stationName;
    @TableField(exist = false)
    private String userName;

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setLocationId(Long locationId)
    {
        this.locationId = locationId;
    }

    public Long getLocationId() 
    {
        return locationId;
    }

    public void setStationId(Long stationId) 
    {
        this.stationId = stationId;
    }

    public Long getStationId() 
    {
        return stationId;
    }

    public void setLocationName(String locationName) 
    {
        this.locationName = locationName;
    }

    public String getLocationName() 
    {
        return locationName;
    }

    public void setLocationType(Long locationType) 
    {
        this.locationType = locationType;
    }

    public Long getLocationType() 
    {
        return locationType;
    }

    public void setDistance(Long distance) 
    {
        this.distance = distance;
    }

    public Long getDistance() 
    {
        return distance;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }

    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("locationId", getLocationId())
            .append("stationId", getStationId())
            .append("locationName", getLocationName())
            .append("locationType", getLocationType())
            .append("distance", getDistance())
            .append("address", getAddress())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
                .append("stationName", getStationName())
                .append("userName", getUserName())
            .toString();
    }
}
